{% extends "topic.html" %}
{% block pageName %}BioVenturist Therapeutics{% endblock %}

{% block queryScriptTopic %}
<script type="text/javascript" src="/bvapp/static/js/therapeutic_read.js"></script>
<script type="text/javascript" src="/bvapp/static/js/therapeutic_write.js"></script>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>

<script language="javascript" type="text/javascript">
google.load("visualization", "1", {packages:["table"]});

function load_info() {
	
	var url_read = "http://{{ domain_used }}/api/service/mqlread";
	var url_write = "http://{{ domain_used }}/api/service/mqlwrite";
	var topic_id = parseTopicID("{{ topic_id }}")	
	get_content(url_read, url_read, '{{ domain_used }}','{{ bioventurist_domain }}', topic_id);
}
</script>
{% endblock %}

{% block col2_container %}
	<div id="topic_logo"><img src="" alt="" name="thumb" align="middle" id="thumb" /></a></div>
	<div id="title"><span id="title"></span></div>
	<div id="page_type">(Therapeutic)</div> <!-- page_type -->
	<div id="page-wrap">
{% endblock %}

{% block tabs %}  
<div id="tabbed-container">
	<ul>
		<li><a href="#Breakdown"><span>Breakdown</span></a></li>
		<li><a href="#Edit"><span>Edit</span></a></li>
	</ul>
	<div id="Breakdown">
       	<h1><span>Overview</span></h1>
		<hr></hr>
		<div id="description"></div>	
		<br></br>
		<div id="overview_table"></div>
		<br></br>
		<div id="companies_involved"></div>
		<br></br>
		<div id="technologies_involved"></div>
		<br></br>
       	<h1><span>Diseases Involved In</span></h1>
		<hr></hr>
		<div id="indications_div"></div>
		<br></br>
       	<h1><span>Market</span></h1>		
		<hr></hr>
		<div id="sales"></div>
	</div>
	<div id="Edit">
		{% if user.is_authenticated %}
		<div id="edit_sync" align="center"></div>
		<br></br>
    	<br></br>
    	  <table>
		    <tr>
		      <td><strong>Overview</strong></td>
		      <td><div align="left" id="edit_overview"><span></span></div></td>
		    </tr>		
		    <tr>
		      <td><strong>Developed by</strong></td>
		      <td><div align="left" id="span_developed_by"><span></span></div></td>
		    </tr>		
		    <tr>
		      <td><strong>Target</strong></td>
		      <td><div align="left" id="span_target"><span></span></div></td>
		    </tr>		
		  </table>
		<br></br>  
		<div id="freebase_redirect"></div>
		{% else %}
            <li><a href="{% url django.contrib.auth.views.login %}">(Login to edit)</a></li> 
        {% endif %} 		  		
	</div>
	
</div>
{% endblock %}		
